package com.threeti.jiayusms.infrastructure.communicationmessage;

import com.threeti.jiayusms.domain.model.CommunicationMessage;
import com.threeti.jiayusms.framework.dao.GenericCustomKeyDao;
import com.threeti.jiayusms.framework.util.DynaSearchCriteria;
import com.threeti.jiayusms.framework.util.PagedListHandler;

public interface CommunicationMessageDao extends GenericCustomKeyDao<String, CommunicationMessage>{
  
  PagedListHandler<CommunicationMessage> findAllMsgTemplatesByPage(int currentPageIndex, int startingIndex);
  
  PagedListHandler<CommunicationMessage> findMsgTemplatesByPage(DynaSearchCriteria dynaSearchCriteria, int currentPageIndex, int startingIndex);

}
